package org.boz.dial;

public class LispString extends LispObject {
	private String m_value;

	public LispString(String value) {
		m_value = value;
	}

	public boolean equals(Object o) {
		if (o instanceof LispString) {
			return ((LispString) o).m_value.equals(m_value);
		}
		return false;
	}

	public String value() {
		return m_value;
	}

	public Object toObject() {
		return m_value;
	}

	public String toString() {
		return "\"" + m_value + "\"";
	}

	public LispObject eval(LispObject env) {
		return this;
	}
}
